
package com.idealighter.game.games.shuihu.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import lombok.Data;

/**
 * 骰子游戏开始结果 .
 *
 */
@ResMsg(ModuleMsgIdConstant.ShuiHu.DICE_GAME_START)
@Data
public class ResDiceGameStartMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.ShuiHu.DICE_GAME_START;

  // 0:开始成功,1:双比筹码不足
  @Protobuf(order = 2)
  private int res;

  // 0:输,非0:本局赢得的筹码
  @Protobuf(order = 3)
  private long win;

  // 骰子1点数
  @Protobuf(order = 4)
  private int point1;

  // 骰子2点数
  @Protobuf(order = 5)
  private int point2;

  // 合计赢的筹码(0:没有赢)
  @Protobuf(order = 6)
  private long totalWin;
}
